﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Game.Service.Client.Export
{
    /// <summary>
    /// 当前实时用户投注信息
    /// </summary>
    [DataContract]
    public class CurrentBettingUsersInfoExport
    {
        public CurrentBettingUsersInfoExport(Iworld.Game.Manager.BettingManager.TempBetting tm)
        {
            this.GameRoundNum = tm.GameRoundNum;
            this.Spade = tm.Spade;
            this.Heart = tm.Heart;
            this.Club = tm.Club;
            this.Diamond = tm.Diamond;
            this.King = tm.King;
            this.Golds = tm.Golds;
            this.Username = tm.Username;
        }


        /// <summary>
        /// 用户剩余金币
        /// </summary>
         [DataMember]
        public double Golds { set; get; }

        /// <summary>
        /// 用户名称
        /// </summary>
        [DataMember]
        public string Username { set; get; }

        /// <summary>
        /// 投注牌局号
        /// </summary>
        [DataMember]
        public int GameRoundNum { set; get; }

        /// <summary>
        /// 黑桃的成功投注量
        /// </summary>
        [DataMember]
        public double Spade { set; get; }

        /// <summary>
        /// 红桃的成功投注量
        /// </summary>
        [DataMember]
        public double Heart { set; get; }

        /// <summary>
        /// 梅花的成功投注量
        /// </summary>
        [DataMember]
        public double Club { set; get; }

        /// <summary>
        /// 方块的成功投注量
        /// </summary>
        [DataMember]
        public double Diamond { set; get; }

        /// <summary>
        /// 王的成功投注量
        /// </summary>
        [DataMember]
        public double King { set; get; }
    }
}
